#!/bin/bash

REPO=$1
HEAD1=${2:-HEAD}
HEAD2=${3:-HEAD}
set -x 
GIT_ALTERNATE_OBJECT_DIRECTORIES="$REPO"/.git/objects git diff --stat $(git --git-dir="$REPO"/.git rev-parse --verify "$HEAD1") "$HEAD2"
